package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 挂牌
 */
@Entity
@Setter
@Getter
@ToString
public class FootGp extends BaseEntity implements Serializable {
    @Column(name = "qy_id")
    @NotNull
    private Long qyId;
    @Transient
    private String qyName;
    @Transient
    private String yw;
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "gpsj", length = 19)
    private Date gpsj;
    @Column(name = "sell_user_id")
    @NotNull
    private Long sellUserId;
    @Transient
    private String sellUserName;
    @Column(name = "ykj", precision = 22)
    @NotNull
    private Double ykj;
    @Column(name = "cj")
    private Boolean cj = false;
    @Column(name = "buy_user_id")
    private Long buyUserId;
    @Transient
    private String buyUserName;
    @Column(name = "fup_id")
    private Long fupId;
    @Transient
    private String qydj;
    @Transient
    private String qysj;

}